package xyz.lne.researchgroupmanage.controller.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Designed By Lne.
 * 2021/1/22 18:17
 */
@Data
public class ResearchNormalResponse {
    //    文档的基本信息
    private Integer researchId;
    private String account;
    private String name;
    private String researchImg;
    private String introduction;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;
    private Integer userId;
    private String userName;
    private Integer researchgroupId;
    private Integer joinStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date joinGroupTime;
    private Boolean isHide;

    //    所拥有的文档
    List<DocumentSimpleResponse> documentSimpleResponseList;
    //    所发布的任务
    List<TaskSimpleResponse> taskSimpleResponseList;
}
